<template>
	<view>
		<!-- <template-one
			v-if="data.template == 1"
			:data="data">
		</template-one>
		<template-three
			v-if="data.template == 0"
			:data="data">
		</template-three> -->
		
		<template-four 
			v-if="data.template == 2"
			:data="data"
			:personInfo="personInfo"
		>
		</template-four>
	</view>
</template>

<script>
	import TemplateOne from './template-one.vue'
	import TemplateTwo from './template-two.vue'
	import TemplateThree from './template-three.vue'
	import TemplateFour from './template-four.vue'
	export default {
		props: ['data', 'personInfo'],
		components: {
			TemplateOne,
			TemplateTwo,
			TemplateThree,
			TemplateFour
		},
		data() {
			return {
				
			}
		}
	}
</script>
